package com.wsoft.hr.pm.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wsoft.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDate;

/**
 * <p>
 * 考核活动
 * </p>
 *
 * @author zhanggukai
 * @since 2025年02月27日 08:49:37
 */
@Getter
@Setter
@TableName("hr_pm_activity")
@Schema(name = "HrPmActivityEntity", description = "考核活动")
public class HrPmActivityEntity extends BaseEntity {

    @Schema(description = "编码")
    @TableField("code")
    private String code;

    @Schema(description = "名称")
    @TableField("name")
    private String name;

    @Schema(description = "描述")
    @TableField("description")
    private String description;

    @Schema(description = "考核周期")
    @TableField("cycle_id")
    private Long cycleId;

    @Schema(description = "活动发起的截止时间")
    @TableField("expire_date")
    private LocalDate expireDate;

    @Schema(description = "是否抄送")
    @TableField("is_notice")
    private Integer isNotice;

    @Schema(description = "抄送人员")
    @TableField("notice_member_id")
    private String noticeMemberId;

    @Schema(description = "所属组织")
    @TableField("hr_org_id")
    private Long hrOrgId;

    @Schema(description = "状态")
    @TableField("status")
    private Integer status;

}
